<input type="hidden" id="randomKeyInput" value="{randomKey}">
<table class="userProfileMainTable">
	<tr>
		<td><div class="userProfileMainTableHeader">{i18n:userMessages_header}</div></td>
	</tr>
	<tr>
		<td>
			<div id="userMessagesTabs">
				<ul>
					<li><a href="#userMessagesTabs-1">{i18n:userMessages_writeMessageTitle}</a></li>
					<li><a href="#userMessagesTabs-2">{i18n:userMessages_privateMessagesTitle} {privateMessagesUnread}</a></li>
					<li><a href="#userMessagesTabs-3">{i18n:userMessages_customerMessagesTitle} {customerMessagesUnread}</a></li>
					<li><a href="#userMessagesTabs-4">{i18n:userMessages_sellerMessagesTitle} {sellerMessagesUnread}</a></li>
					<li><a href="#userMessagesTabs-5">{i18n:userMessages_privateMessagesExtTitle}</a></li>
					<li><a href="#userMessagesTabs-6">{i18n:userMessages_itemMessagesExtTitle}</a></li>
				</ul>
				<div id="userMessagesTabs-1">
				
				<form>
					<!--
					<input type="hidden" id="recipientId" value="{recipientId}">
					<input type="hidden" id="unreadIds" value="{unreadIds}">
					<input type="hidden" id="jumpId" value="{jumpId}">
					-->
					<input type="hidden" id="recipientIds" value="">
					<table class="userMessagesWriteMessageTable">
						<tr>
							<td>{i18n:userMessages_message_recipient}</td>
						</tr>
						<tr>
							<td><input type="text" id="recipientInput" value="" /></td>
						</tr>
						<tr>
							<td><div id="recipientList"></div></td>
						</tr>
						<tr>
							<td>{i18n:userMessages_message_content}<div style="float:right;" id="multiMessageStatus"></div></td>
						</tr>
						<tr>
							<td><textarea id="multiMessageContent" style="width: 740px; height: 100px;"></textarea></td>
						</tr>
						<tr>
							<td><button class="sendMultiMessageButton" style="float: right">{i18n:userMessages_message_send_button}</button>
						</tr>
					</table>
					<input type="hidden" name="randomKey" value="{randomKey}">
				</form>
				
				</div>
				<div id="userMessagesTabs-2">
				{privateMessagesList}
				</div>
				<div id="userMessagesTabs-3">
				{customerMessagesList}
				</div>
				<div id="userMessagesTabs-4">
				{sellerMessagesList}
				</div>
				<div id="userMessagesTabs-5">
				{privateMessagesListExt}
				</div>
				<div id="userMessagesTabs-6">
				{itemMessagesListExt}
				</div>
			</div>
		</td>
	</tr>
</table>